<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>专家资源</title>
    <link href="../css/professional1.css" rel="stylesheet" type="text/css">
    <script src="../jQuery/jquery-3.3.1.js"></script>
    <script src="../layer/layer.js"></script>
</head>
<body>
<p class="p1">所在位置：技术服务信息·专家资源</p>
<div class="sousu">

</div>
<div class="container">
    <div class="information_left">
        <div class="info">
            <div class="top">
                <div class="del"><a onclick="del()"> <img src="../img/close.png" style="width: 16px;height: 16px"></a></div>
                <div style="min-width: 200px">
                    <img src="../img/teacher.jpg" class="info_teach">
                    <p class="specific">
                        <label class="name">王先生</label> <br/>
                        擅长领域：xxx   可提供技术服务：xx 成果案例：xxx </p>
                </div>
            </div>
            <div class="info_operation">

                <label onclick="examine()"  class="operation"><img src="../img/examine.png" style="width: 20px;height: 18px">审核</label>
            </div>
        </div>
        <div class="info">
            <div class="top">
                <div class="del"><a onclick="del()"> <img src="../img/close.png" style="width: 16px;height: 16px"></a></div>
                <div style="min-width: 200px">
                    <img src="../img/teacher.jpg" class="info_teach">

                    <p class="specific">
                        <label class="name">联系人：王先生</label> <br/>
                        联系方式：xxx   具体需求信息：xx 需求描述：xxx </p>
                </div>
            </div>
            <div class="info_operation">

                <label onclick="examine()"  class="operation"><img src="../img/examine.png" style="width: 20px;height: 18px">审核</label>
            </div>
        </div>

    </div>
    <div class="information_middle">
        <div class="info">
            <div class="top">
                <div class="del"><a onclick="del()"> <img src="../img/close.png" style="width: 16px;height: 16px"></a></div>
                <div style="min-width: 200px">
                    <img src="../img/teacher.jpg" class="info_teach">
                    <p class="specific">
                        <label class="name">联系人：王先生</label> <br/>
                        联系方式：xxx   具体需求信息：xx 需求描述：xxx </p>
                </div>
            </div>
            <div class="info_operation">

                <label onclick="examine()"  class="operation"><img src="../img/examine.png" style="width: 20px;height: 18px">审核</label>
            </div>
        </div>
        <div class="info">
            <div class="top">
                <div class="del"><a onclick="del()"> <img src="../img/close.png" style="width: 16px;height: 16px"></a></div>
                <div style="min-width: 200px">
                    <img src="../img/teacher.jpg" class="info_teach">
                    <p class="specific">
                        <label class="name">联系人：王先生</label> <br/>
                        联系方式：xxx   具体需求信息：xx 需求描述：xxx </p>
                </div>
            </div>
            <div class="info_operation">

                <label onclick="examine()"  class="operation"><img src="../img/examine.png" style="width: 20px;height: 18px">审核</label>
            </div>
        </div>
    </div>
    <div class="information_right">
        <div class="info">
            <div class="top">
                <div class="del"><a onclick="del()"> <img src="../img/close.png" style="width: 16px;height: 16px"></a></div>
                <div style="min-width: 200px">
                    <img src="../img/teacher.jpg" class="info_teach">
                    <p class="specific">
                        <label class="name">联系人：王先生</label> <br/>
                        联系方式：xxx   具体需求信息：xx 需求描述：xxx </p>
                </div>
            </div>
            <div class="info_operation">

                <label onclick="examine()"  class="operation"><img src="../img/examine.png" style="width: 20px;height: 18px">审核</label>
            </div>
        </div>
        <div class="info">
            <div class="top">
                <div class="del"><a onclick="del()"> <img src="../img/close.png" style="width: 16px;height: 16px"></a></div>
                <div style="min-width: 200px">
                    <img src="../img/teacher.jpg" class="info_teach">
                    <p class="specific">
                        <label class="name">联系人：王先生</label> <br/>
                        联系方式：xxx   具体需求信息：xx 需求描述：xxx </p>
                </div>
            </div>
            <div class="info_operation">

                <label onclick="examine()"  class="operation"><img src="../img/examine.png" style="width: 20px;height: 18px">审核</label>
            </div>
        </div>

    </div>
</div>
<br/>
<div class="page">
    <a href="#">上一页</a>
    <a href="#">1</a>
    <a href="#">2</a>
    <a href="#">3</a>
    <a href="#">4</a>
    <a href="#">5</a>
    <a href="#">6</a>
    <a href="#">7</a>
    <a href="#">8</a>
    <a href="#">9</a>
    <a href="#">10</a>
    ...
    <a href="#">99</a>
    <a href="#">下一页</a>
</div>



</body>

<script>
    var user = "";

    function examine() {
        layer.open({
            type: 1,
            title:'审核状态',
            area: ['400px', '200px'],
            closeBtn:1,
            shadeClose: true, //点击遮罩关闭
            content:'<label class="examine_state">'+'审核状态: '+'</label>'+'<select class="examine_sel">'
            +'<option>审核</option>'+'<option>未通过</option>'+'</select>'
            +'<button id="ex_sub" >'+'提交'+'</button>'
        });
    }

    function changepic() {
        var reads= new FileReader();
        f=document.getElementById('file').files[0];
        reads.readAsDataURL(f);
        reads.onload=function (e) {
            document.getElementById('show').src=this.result;
        };
    }
    function del() {
        var self = $(this);
        var flag = $(this).attr('flag');
        layer.confirm('是否确认删除？', {
            btn: ['确定','取消'] //按钮
        },function () {
            $.ajax({
                url: "",
                type: "post",
                data: {id: flag},
                dataType: "json",
                success: function (data) {
                    if(data == 1){
                        layer.msg('删除成功')
                        location.reload();
                    }
                    if (data == 0){
                        layer.msg('删除失败')
                        location.reload();
                    }
                }
            });
        });

    }

    $(function () {
        $('#searchName').click(function() {
            var text = $('#input').val(); //获取文本框输入
            var userName = $("#userName").val();
            if(text == userName ){

            }
        })
    })



</script>
</html>